<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<%
	String url = request.getRequestURL().toString();
	url = url.substring(0, url.indexOf('/', url.indexOf("//") + 2));
	String context = request.getContextPath();
	url += context;
	application.setAttribute("ctx", url);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<title>国家信息录入管理</title>
	<script type="text/javascript"	src="${ctx}/javascript/Login/jquery-1.11.1.min.js"></script>
	<!--[if lt IE 9]>
    <script type="text/javascript" src="${ctx}/javascript/IE9/html5.js"></script>
    <script type="text/javascript" src="${ctx}/javascript/IE9/respond.min.js"></script>
    <script type="text/javascript" src="${ctx}/javascript/IE9/PIE_IE678.js"></script>
    <![endif]-->  
    <link href="${ctx}/css/h-ui/css/H-ui.min.css" rel="stylesheet" />
    <link href="${ctx}/css/h-ui.admin/css/H-ui.admin.css" rel="stylesheet" />
    <link href="${ctx}/css/Hui-iconfont/iconfont.css" rel="stylesheet" />
    <link href="${ctx}/css/icheck/icheck.css" rel="stylesheet" />
    <link href="${ctx}/css/h-ui.admin/skin/default/skin.css" rel="stylesheet" id="skin" />
    <link href="${ctx}/css/h-ui.admin/css/style.css" rel="stylesheet" />
    <!--[if IE 6]>
    <script type="text/javascript" src="${ctx}/javascript/IE6/DD_belatedPNG_0.0.8a-min.js"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <style type="text/css">
        a:hover{
            text-decoration: none;
            color: blue;
        }
        dt:hover{
            background:white;
        }

    </style>
</head>
<body>
 	<header class="navbar-wrapper">
 		<div  style=" height: 50px; background-color:#6495ED; /*background-image: url('${ctx}/images/head.png');text-align:center;background-size: 100%;background-repeat: no-repeat;">
 		    <strong style="margin-left:40%;font-size:30px;font-family:'Times New Roman',Georgia,Serif">国家信息录入管理系统</strong>
			<div class="navbar navbar-fixed-top" >
	            <div class="container-fluid cl" >
	            <nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
	                    <ul class="cl">
	                  	    <li class="dropDown dropDown_hover">
	                            <%--<a href="#" class="dropDown_A"><label id="CityName">${city[0].CSMC }</label><i class="Hui-iconfont">&#xe6d5;</i></a>
	                            <ul class="dropDown-menu menu radius box-shadow">
	                                <c:forEach items="${requestScope.city }" var="city" >
	                                	<li onclick="ChangeCity('${city.CSDM}')" ><a class="color" id="City${city.CSDM }">${city.CSMC}</a></li>
									</c:forEach>
	                            </ul>--%>
	                        </li> 	
	                        <li style="color: #FFFFFF">用户名</li>
	                        <li class="dropDown dropDown_hover" >
	                            <a style="color: #FFFFFF" id="YHZH" href="#" class="dropDown_A">${user.YHZH }<i class="Hui-iconfont">&#xe6d5;</i></a>
	                            <ul class="dropDown-menu menu radius box-shadow">
<%--
	                                <li><a class="color"_href="${ctx}/SystemManage/UserInfo" data-title="个人信息修改" onclick="Hui_admin_tab(this)">个人信息</a></li>
--%>
                                    <li><a class="color" href="javascript:void(0)">${user.name}</a></li>
	                                <li><a class="color" href="${ctx}/login.do">切换账户</a></li>
	                                <li><a class="color" href="${ctx}/logout">退出</a></li>
	                            </ul>
	                        </li> 						
	                    </ul>
	                </nav>
	            </div>
	        </div>  
 		</div>
    </header>
    <aside class="Hui-aside" >
        <input  id="divScrollValue" type="hidden" value="" />
        <div class="menu_dropdown bk_2">
            <dl id="menu-picture">
                <dt><a style="color:black;" _href="${ctx}/mytable" data-title="首页" href="javascript:void(0)" style="text-decoration:none;color: #FFF"><i  class="Hui-iconfont">&#xe625;</i> 首页</a></dt>
            </dl>
            <shiro:hasPermission name="BaseInformation">

                <dl>
                <dt id="BaseInformation"> <a data-title="基本信息" _href="${ctx}/BaseInformation/baseinfo" href="javascript:void(0)" > 基本信息</a></dt>
            </dl>
            </shiro:hasPermission>
            <shiro:hasPermission name="Environment">
            <dl >
                <dt><a data-title="自然环境和资源" _href="${ctx}/Nature/nature" href="javascript:void(0)" style="..."> 自然环境与资源</a> </dt>

            </dl>
            </shiro:hasPermission>
            <shiro:hasPermission name="Politics">
            <dl>
                <dt><a data-title="政治和军事" _href="${ctx}/Politics/politics" href="javascript:void(0)" style="...">政治和军事</a> </dt>
            </dl>
            </shiro:hasPermission>
            <shiro:hasPermission name="Development">
            <dl >
                <dt><a data-title="经济发展" _href="${ctx}/Development/development" href="javascript:void(0)" style="...">经济发展</a> </dt>

            </dl>
            </shiro:hasPermission>
            <shiro:hasPermission name="Society">

            <dl >
                <dt><a data-title="社会状况" _href="${ctx}/Society/society" href="javascript:void(0)" style="..."> 社会状况</a> </dt>

            </dl>
            </shiro:hasPermission>
            <shiro:hasPermission name="Technology">
            <dl >
                <dt><a data-title="科技教育" _href="${ctx}/Technology/technology" href="javascript:void(0)" style="...">科技教育</a> </dt>

            </dl>
            </shiro:hasPermission>
            <shiro:hasPermission name="Relationship">

            <dl >
                <dt><a data-title="国际关系" _href="${ctx}/Relationship/relationship" href="javascript:void(0)" style="..."> 国际关系</a> </dt>

            </dl>

        </shiro:hasPermission>

            <shiro:hasPermission name="OverseasChinese">

                <dl >
                    <dt><a data-title="侨情概况" _href="${ctx}/OverseasChinese/overseaschinese" href="javascript:void(0)" style="...">侨情概况</a> </dt>

                </dl>

            </shiro:hasPermission>
            <shiro:hasPermission name="InternationalData">
                <dl >
                    <dt><a data-title="国际数据" _href="${ctx}/InternationalData/internationaldata" href="javascript:void(0)" style="..."> 国际数据</a> </dt>

                </dl>
            </shiro:hasPermission><%----%>
            <shiro:hasPermission name="RecorderManage">
                        <dl >
                            <dt><a data-title="录入员管理" _href="${ctx}/RecorderManage/recorder_manage" href="javascript:void(0)" style="..."> 录入员管理</a> </dt>

                        </dl>
            </shiro:hasPermission>
            <shiro:hasPermission name="UploadFiles">
			<dl >
                <dt id="UploadFiles" style="color: #333;"> 上传文件<i class="Hui-iconfont menu_dropdown-arrow" style="color: #333;">&#xe6d5;</i></dt>
                <dd>
                    <ul>
                        <li id="upload_naiton_files"><a class="J_menuItem" _href="${ctx}/UploadAllFiles/upload_nation_files" data-title="上传国歌和视频" href="javascript:void(0)"><i class="fa fa-joomla"></i>上传国歌和视频</a></li>

                    <li id="upload_literature_data_files"><a class="J_menuItem" _href="${ctx}/UploadAllFiles/upload_literature_data_files" data-title="上传重要文献" href="javascript:void(0)"><i class="fa fa-joomla"></i>上传重要文献</a></li>

                    <li id="upload_research_work_files"><a class="J_menuItem" _href="${ctx}/UploadAllFiles/upload_research_work_files" data-title="上传研究著作" href="javascript:void(0)"><i class="fa fa-joomla"></i>上传研究著作</a></li>

                    <li id="upload_world_nation_files"><a class="J_menuItem" _href="${ctx}/UploadAllFiles/upload_world_nation_files" data-title="上传统计数据" href="javascript:void(0)"><i class="fa fa-joomla"></i>上传统计数据</a></li>

                    </ul>
                </dd>
            </dl>
			
            </shiro:hasPermission>
        </div>
    </aside>
    <div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onclick="displaynavbar(this)"></a></div>
    <section  class="Hui-article-box">
        <div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
            <div class="Hui-tabNav-wp">
                <ul id="min_title_list" class="acrossTab cl">
                    <li class="active"><span title="我的桌面" data-href="${ctx}/mytable">我的桌面</span><em></em></li>
                </ul>
            </div>
            <div class="Hui-tabNav-more btn-group"><a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a><a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a></div>
        </div>
        <div id="iframe_box" class="Hui-article">
            <div class="show_iframe">
                <div style="display:none" class="loading"></div>
                <iframe scrolling="yes" frameborder="0" src="${ctx}/mytable"></iframe>
            </div>
        </div>
    </section>
    <script src="${ctx}/javascript/H-js/jquery.min.js"></script>
    <script src="${ctx}/javascript/H-js/layer.js"></script>
    <script src="${ctx}/javascript/H-js/H-ui.js"></script>
    <script src="${ctx}/javascript/H-js/H-ui.admin.js"></script>   
<script type="text/javascript">

function ChangeCity(value){;
	/*var City = "#City" + value;
	var para = "CSDM="+value;
	url = "${ctx}/setCurUserCSDMSession";
	$.post(url,para,function(data){
		if(data=="修改成功"){
			$("#CityName").html($(City).text());	
		}
	})*/
}
</script>
</body>
</html>